package com.wuchao.pojo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author wuchao66
 * @Date 2022/9/19 15:28
 * @PackageName:com.wuchao.pojo
 * @ClassName: Users
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Data
public class Users {
    public Type getType() {
        return type;
    }

    @Override
    public String toString() {
        return "Users{" +
                "type=" + type +
                ", list=" + list +
                ", man=" + man +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", date=" + date +
                '}';
    }

    public void setType(Type type) {
        this.type = type;
    }

    private Type type;

    public List<Man> getList() {
        return list;
    }

    public void setList(List<Man> list) {
        this.list = list;
    }

    //集合属性
    private List<Man> list;

    public Man getMan() {
        return man;
    }

    public void setMan(Man man) {
        this.man = man;
    }

    //双表合一 变为同一类型
    private Man man;
    private int id;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    private String pwd;
    private Date date;
}
